<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8" />
<title>Insert title here</title>
</head>
<body>
<span th:text="${message1}">11</span>
<h3>注册信息</h3>
<span th:if="${#fields.hasErrors('${userBean.*}')}"><span th:errors="${userBean.*}"></span></span>
					<span th:text="${message}"></span>	
<form action="init1" th:object="${userBean}" method="post">
<div>
		<span><label>账号</label></span> <span><input
			name="userId" type="text" /></span>
	</div>
	<div>
		<span><label>用户名</label></span> <span><input
			name="userName" type="text" /></span>
	</div>
	
	<div>
		<span><label>密码</label></span> <span><input
			name="password" type="password" /></span>
	</div>
	<div>
		<span><label>确认密码</label></span> <span><input
			name="passwordConfirm" type="password" /></span>
	</div>
<div>
	<span><input type="submit" name="add" value="注册" />
	<input type="submit" name="back" value="后退" /></span>
</div>

</form>

</body>
</html>